package pers.lc.testDataGenerator.enumeration;

/**
 * 规则枚举常量
 */
public class RuleEnumConst {
    public enum ColumnSetRuleEnum{

        SINGLE_RULE_1("single_rule_1","集合生成单个规则一","随机选取一个"),
        MULTI_RULE_1("multi_rule_1","集合生成多个规则一","每次随机选取一个"),
        MULTI_RULE_2("multi_rule_2","集合生成多个规则二","每次循环选取一个");

        private final String value;
        private final String type;
        private final String description;
        ColumnSetRuleEnum(String value,String type,String description){
            this.value = value;
            this.type = type;
            this.description = description;
        }
        public String getValue(){
            return value;
        }

        public String getDescription() {
            return description;
        }

        public String getType() {
            return type;
        }
    }
    public enum ColumnRangeRuleEnum{

        SINGLE_RULE_1("single_rule_1","范围生成单个规则一","随机选取一个"),
        MULTI_RULE_1("multi_rule_1","范围生成多个规则一","每次随机选取一个"),
        MULTI_RULE_2("multi_rule_2","范围生成多个规则二","每次循环选取一个");

        private final String value;
        private final String type;
        private final String description;
        ColumnRangeRuleEnum(String value,String type,String description){
            this.value = value;
            this.type = type;
            this.description = description;
        }
        public String getValue(){
            return value;
        }

        public String getDescription() {
            return description;
        }

        public String getType() {
            return type;
        }
    }
}
